From 30a7c94dc119195c0b0e411d13e020fe52192c31 Mon Sep 17 00:00:00 2001 From: Agustin Martin Date: Fri, 5 Apr 2013 17:43:07 +0200 Subject: [PATCH] ispell.el (ispell-set-spellchecker-params): Really set `ispell-args' for all equivs. Was not actually modifying ispell-args for dicts where it was nil before. Thanks Jacek Chrzaszcz. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/ispell.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 43f9bba5cb3..5c79203b12e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-04-05 Jacek Chrząszcz (tiny change) + + * ispell.el (ispell-set-spellchecker-params): + Really set `ispell-args' for all equivs. + 2013-04-05 Stefan Monnier * ido.el (ido-completions): Use extra elements of ido-decorations diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 467ac004420..a56554f5b66 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1383,7 +1383,8 @@ aspell is used along with Emacs).") ;; Unless default dict, re-add "-d" option with the mapped value (if dict-name (if dict-equiv - (nconc ispell-args (list "-d" dict-equiv)) + (setq ispell-args + (nconc ispell-args (list "-d" dict-equiv))) (message "ispell-set-spellchecker-params: Missing hunspell equiv for \"%s\". Skipping." dict-name) -- 2.30.2